package com.telit.firecommand.service;

import com.telit.firecommand.entity.FileUploadLog;

import java.util.Date;


/**
 * @author chencf
 * @description 文件上传接口
 */
public interface FileUploadLogService {

    /**
     * 文件上传日志记录
     *
     * @param fireId
     * @param fileName
     * @param path
     * @param uploadDate
     */
    void log(Long fireId, String fileName, String path, Date uploadDate);

    /**
     * 新增图片上传记录
     * @param fileUploadLog
     * @return
     */
    int add(FileUploadLog fileUploadLog);
}
